#include <iostream>
#include <map>

int main ()
{
    std::map<char,int> mymap;

    std::map<char,int>::key_compare mycomp = mymap.key_comp();

    mymap['a']=100;
    mymap['b']=200;
    mymap['c']=300;
    std::map<char,int>::iterator iter = mymap.begin();
    for(iter;iter!=mymap.end();iter++)
    {
        std::cout<<"Key:"<<iter->first<<"value:"<<iter->second<<"\n";
    }
}